package com.textbasedgame.choices;

import com.textbasedgame.people.Player;

import java.io.IOException;

public class Choice185 extends Choice{
	
	public Choice185(Player player) {
		this.player = player;
	}

	
	public void start(){
		
		System.out.println("Suddenly, you are in blinding sunshine. You are standing");
		System.out.println("At the lip of an immense chasm. You realise that this must");
		System.out.println("Be the Rift the Crusaders spoke of.");
		System.out.println(TERM_ARROW);
		
		try{
			enter = br.readLine();
		}catch (IOException ioe){
				System.out.println("IO error");
		}
		
		System.out.println("The rocky earth is blackened and cracked, full of pits and");
		System.out.println("Fissures, and noisome fumes rise from the depths of the chasm.");
		System.out.println("To the west you see a range of green hills partially covered ");
		System.out.println("In trees and thick woodland. A few hundred metres to your right");
		System.out.println("You can see where a forest begins, extending all the way to the hills");
        System.out.println(TERM_ARROW);
		
		try{
			enter = br.readLine();
		}catch (IOException ioe){
				System.out.println("IO error");
		}
		
		System.out.println("You realise that you must head in the direction of the hills to");
		System.out.println("Read Greyguilds - but which route will you take?");
		System.out.println("Will you:");
		System.out.println("1. Run through the forest?");
		System.out.println("2. Or go the more direct across the open ground?");
		System.out.println(TERM_ARROW);
		
		String choice = null;
		
		try{
			choice = br.readLine();
		} catch (IOException ioe) {
			System.out.println("IO error trying to read your name!");
		}
		
		if (choice.equals("1")){
			Choice256 choice256 = new Choice256 (player);
			choice256.start();
		}else{
			if (choice.equals("2")){
				Choice134 choice134 = new Choice134 (player);
				choice134.start();
		}
	
    }}}
	
	



